<!DOCTYPE html>
<html>
<head>
    <title>Edit Student</title>
</head>
<body>
    <h1>Edit Student</h1>
    <form action="{{ url_for('edit_student', sno=student.sno) }}" method="post">
        Sno: <input type="text" name="sno" value="{{ student.sno }}"><br>
        Sname: <input type="text" name="sname" value="{{ student.sname }}"><br>
        Ssex: <input type="text" name="ssex" value="{{ student.ssex }}"><br>
        Sage: <input type="text" name="sage" value="{{ student.sage }}"><br>
        Dno: <input type="text" name="dno" value="{{ student.dno }}"><br>
        Sclass: <input type="text" name="sclass" value="{{ student.sclass }}"><br>
        Address: <input type="text" name="address" value="{{ student.address }}"><br>
        <input type="submit" value="Save">
    </form>
</body>
</html>